package com.fdl.common.utils;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 面试状态工具类
 * 
 * @author junWu.zhu
 * @date 2011.2.12
 */
public class AnAuditionStatusUtil {

	/**
	 * 返回所有状态
	 */
	public static Map<Long, Long> getAllStatus() {
		Map<Long, Long> map = new HashMap<Long, Long>();
		for (long i = 0; i <= 10; i++) {
			map.put(i, i);
		}
		return map;
	}

	/**
	 * 返回通知状态
	 */
	public static Map<Long, Long> getStatusIsInform() {
		Map<Long, Long> map = new HashMap<Long, Long>();
		for (long i = 0; i <= 10; i++) {
			if (i == 0) {
				map.put(i, i);
			}
		}
		return map;
	}

	/**
	 * 返回面试状态
	 */
	public static Map<Long, Long> getStatusIsAnAudition() {
		Map<Long, Long> map = new HashMap<Long, Long>();
		for (long i = 0; i <= 4; i++) {
			if (i == 2||i==3) {
				map.put(i, i);
			}
		}
		return map;
	}

	/**
	 * 返回录用状态
	 */
	public static Map<Long, Long> getStatusIsEmploy() {
		Map<Long, Long> map = new HashMap<Long, Long>();
//		for (long i = 5; i <= 10; i++) {
//			map.put(i, i);
//		}
		map.put(5l,5l);
		return map;
	}
	
	/**
	 * 返回不可面试状态
	 */
	public static Map<Long, Long> getStatusUnUse() {
		Map<Long, Long> map = new HashMap<Long, Long>();
//		for (long i = 5; i <= 10; i++) {
//			map.put(i, i);
//		}
		map.put(1l,1l);
		return map;
	}
}
